package com.hqd.test.xml.custom;


import com.hqd.ch03.v7.reader.xml.namespace.support.NamespaceHandlerSupport;

public class MyNamespaceHandler extends NamespaceHandlerSupport {
    @Override
    public void init() {
        registerBeanDefinitionParser("user", new UserBeanDefinitionParser());
        registerBeanDefinitionDecorator("hobbies", new HobbiesBeanDefinitionDecorator());
        registerBeanDefinitionDecoratorForAttribute("school", new SchoolBeanDefinitionDecorator());

    }
}
